function onClickRow(index,row){
	initOrderInfoTable(index,row);
}

function initOrderInfoTable(index,row){
	var frozenColumns = [[{field : 'id',title : '编号',width : 60,checkbox : false,hidden:true,halign:'center'}]];
	var columns = [[
	                {field : 'orderCode',title : '订单号',width : 100,halign:'center',align:'left'},
					{field : 'orderName',title : '订单名称',width : 100,halign:'center',align:'left'},
					{field : 'orderVender',title : '商家',width : 100,halign:'center',align:'left'},
					{field : 'orderAmount',title : '金额',width : 100,halign:'center',align:'left'},
					{field : 'orderStatus',title : '状态',width : 100,halign:'center',align:'left'},
					{field : 'orderAddress',title : '收货地址',width : 100,halign:'center',align:'left'}
				  ]];
	jfinal.datagrid('dg_orderInfo', contextPath+'/jdOrder/query/'+row.customerID, '', frozenColumns, columns);
}
